<template>
  <div>
    <h2>Home</h2>
    <ul class="nav nav-tabs">
      <li>
        <router-link :to="{name: 'news'}">News</router-link>
      </li>
      <li>
        <router-link to="/home/message">Mesage</router-link>
      </li>
    </ul>
    <!-- 在此显示当前路由组件 -->
    <router-view></router-view>
  </div>
</template>

<script lang="ts">
  export default {
    name: 'Home'
  }
</script>
<script lang="ts" setup>
</script>

<style scoped>


</style>